Maximum-Weight Planar Boxes in O(n2) Time (and Better)
نویسندگان
چکیده
Given a set P of n points in R, where each point p of P is associated with a weight w(p) (positive or negative), the Maximum-Weight Box problem consists in finding an axis-aligned box B maximizing ∑ p∈B∩P w(p). We describe algorithms for this problem in two dimensions that run in the worst case in O(n) time, and much less on more specific classes of instances. In particular, these results imply similar ones for the Maximum Bichromatic Discrepancy Box problem. These improve by a factor of Θ(log n) on the best worst-case complexity previously known for these problems, O(n lg n) [Cortés et al., J. Alg., 2009; Dobkin et al., J. Comput. Syst. Sci., 1996]. Although the O(n) result can be deduced from new results on the Klee’s Measure problem [Chan, 2013], it is a more direct and simplified (nontrivial) solution, which further provides smaller running times on specific classes on instances.
منابع مشابه
A fast algorithm for minimum weight odd circuits and cuts in planar graphs
We give a simple O(n3/2 log n) algorithm for finding a minimum weight odd circuit in planar graphs. By geometric duality, the same algorithm can be used to find minimum weight odd cuts. For general sparse graphs, the fastest known algorithms for these two problems take O(n2 log n) time and O(n3 log n) time, respectively. © 2004 Elsevier B.V. All rights reserved.
متن کاملMaximum - Weight Planar Boxes in O ( n 2 ) Time ( and Better ) I
Given a set P of n points in R, where each point p of P is associated with a weight w(p) (positive or negative), the Maximum-Weight Box problem is to find an axis-aligned box B maximizing ∑ p∈B∩P w(p). We describe algorithms for this problem in two dimensions that run in the worst case in O(n) time, and much less on more specific classes of instances. In particular, these results imply similar ...
متن کاملOn the Number of Maximum Empty Boxes Amidst n Points
We revisit the following problem (along with its higher dimensional variant): Given a set S of n points inside an axis-parallel rectangle U in the plane, find a maximum-area axis-parallel sub-rectangle that is contained in U but contains no points of S. 1. We prove that the number of maximum-area empty rectangles amidst n points in the plane is O(n logn 2α(n)), where α(n) is the extremely slowl...
متن کاملUnifying Maximum Cut and Minimum Cut of a Planar Graph
Absfmcf-We consider the real-weight maximum cut of a planar graph. Given an undirected planar graph with real-valued weights associated with its edges, find a partition of the vertices into two nonemply sets such that the sum of the weights of the edges connecting the two sets is maximum. The conventional maximum cut and minimum cut problems assume nonnegative edge weights, and thus are special...
متن کاملComputing the Maximum Detour of a Plane Geometric Graph in Subquadratic Time
Let G be a plane graph where each edge is a line segment. We consider the problem of computing the maximum detour of G, defined as the maximum over all pairs of distinct points p and q of G of the ratio between the distance between p and q in G and the Euclidean distance ‖pq‖. The fastest known algorithm for this problem has Θ(n2) running time where n is the number of vertices. We show how to o...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Process. Lett.
دوره 114 شماره
صفحات -
تاریخ انتشار 2013